///*
//This function is used for toggling controls
//*/
function toggleControls(controls)
{
	if (controls != null)
	{
		for (var i = 0; i < controls.length; i++)
		if (controls[i])
		{		
			var ctrl = document.getElementById(controls[i]);
			if (ctrl)
			{
				ctrl.disabled = !ctrl.disabled;
			}
		}
	}
}

